package org.asdtiang.exceldemo.domain;

import java.io.Serializable;

import org.asdtiang.exceldemo.ExcelCellIndexAnnotaion;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName = "armyjob", type = "2019")
public class ArmyJob implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 2214646249265935582L;
	@Id
	public int id;
	@ExcelCellIndexAnnotaion(index = 0)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String jobCode;
	@ExcelCellIndexAnnotaion(index = 1)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String armyCode;
	@ExcelCellIndexAnnotaion(index = 2)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String armyName;
	@ExcelCellIndexAnnotaion(index = 3)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String jobType;
	@ExcelCellIndexAnnotaion(index = 4)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String jobName;
	@ExcelCellIndexAnnotaion(index = 5)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String jobDesc;
	@ExcelCellIndexAnnotaion(index = 6)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String addNumber;
	@ExcelCellIndexAnnotaion(index = 7)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String sourceType;
	@ExcelCellIndexAnnotaion(index = 8)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String edu;// 学历
	@ExcelCellIndexAnnotaion(index = 9)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String eduDegree;// 学位
	@ExcelCellIndexAnnotaion(index = 10)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String major;// 专业
	@ExcelCellIndexAnnotaion(index = 11)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String testMajor;
	@ExcelCellIndexAnnotaion(index = 12)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String universityMajorRequired;
	@ExcelCellIndexAnnotaion(index = 13)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String societyMajorRequired;
	@ExcelCellIndexAnnotaion(index = 14)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String universityJobRequired;
	@ExcelCellIndexAnnotaion(index = 15)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String societyJobRequired;
	@ExcelCellIndexAnnotaion(index = 16)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String othersRequired;
	@ExcelCellIndexAnnotaion(index = 17)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text,fielddata=true)
	public String location;
	@ExcelCellIndexAnnotaion(index = 18)
	@Field(searchAnalyzer = "ik_max_word", analyzer = "ik_max_word" ,type=FieldType.Text)
	public String phone;
	
	

	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getJobCode() {
		return jobCode;
	}

	public void setJobCode(String jobCode) {
		this.jobCode = jobCode;
	}

	public String getArmyCode() {
		return armyCode;
	}

	public void setArmyCode(String armyCode) {
		this.armyCode = armyCode;
	}

	public String getArmyName() {
		return armyName;
	}

	public void setArmyName(String armyName) {
		this.armyName = armyName;
	}

	public String getJobType() {
		return jobType;
	}

	public void setJobType(String jobType) {
		this.jobType = jobType;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobDesc() {
		return jobDesc;
	}

	public void setJobDesc(String jobDesc) {
		this.jobDesc = jobDesc;
	}

	public String getAddNumber() {
		return addNumber;
	}

	public void setAddNumber(String addNumber) {
		this.addNumber = addNumber;
	}

	public String getSourceType() {
		return sourceType;
	}

	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}

	public String getEdu() {
		return edu;
	}

	public void setEdu(String edu) {
		this.edu = edu;
	}

	public String getEduDegree() {
		return eduDegree;
	}

	public void setEduDegree(String eduDegree) {
		this.eduDegree = eduDegree;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getTestMajor() {
		return testMajor;
	}

	public void setTestMajor(String testMajor) {
		this.testMajor = testMajor;
	}

	public String getUniversityMajorRequired() {
		return universityMajorRequired;
	}

	public void setUniversityMajorRequired(String universityMajorRequired) {
		this.universityMajorRequired = universityMajorRequired;
	}

	public String getSocietyMajorRequired() {
		return societyMajorRequired;
	}

	public void setSocietyMajorRequired(String societyMajorRequired) {
		this.societyMajorRequired = societyMajorRequired;
	}

	public String getUniversityJobRequired() {
		return universityJobRequired;
	}

	public void setUniversityJobRequired(String universityJobRequired) {
		this.universityJobRequired = universityJobRequired;
	}

	public String getSocietyJobRequired() {
		return societyJobRequired;
	}

	public void setSocietyJobRequired(String societyJobRequired) {
		this.societyJobRequired = societyJobRequired;
	}

	public String getOthersRequired() {
		return othersRequired;
	}

	public void setOthersRequired(String othersRequired) {
		this.othersRequired = othersRequired;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
